package com.headwind.entity;

import com.headwind.annotation.Column;
import com.headwind.annotation.Pk;
import com.headwind.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author : Headwind
 * @version : 1.0
 * @date : Created in 2020/8/16
 * @description : 用户博客实体类
 */
@Data
@Table(name = "hw_user_blog")
public class HwUserBlog implements Serializable {
    @Pk
    private Integer id;
    @Pk
    private String title;
    @Pk
    @Column(name = "create_user_id")
    private String createUserId;
    private String content;
    @Column(name = "praise_num")
    private Integer praiseNum;
    @Column(name = "read_num")
    private Integer readNum;
    @Column(name = "share_num")
    private Integer shareNum;
    @Column(name = "publish_time")
    private Date publishTime;
}
